package com.musicstore.biz.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.musicstore.biz.OrderdetailBiz;
import com.musicstore.dao.OrderdetailDao;
import com.musicstore.entity.OrderDetailEntity;
@Service("orderdetailBiz")
public class OrderdetailBizImpl implements OrderdetailBiz {
	@Autowired
	private OrderdetailDao orderdetailDao;
	public void add(OrderDetailEntity orderDateEntity) {
		orderdetailDao.add(orderDateEntity);
	}

	public List<OrderDetailEntity> query() {
		// TODO Auto-generated method stub
		return orderdetailDao.query();
	}

}
